gst1-plugins-bad: fix building GL libraries
authorDaniel Golle <[email protected]>
Mon, 25 Nov 2024 00:00:33 +0000 (01:00 +0100)
committerDaniel Golle <[email protected]>
Tue, 26 Nov 2024 02:15:40 +0000 (02:15 +0000)
Build GL and Wayland libraries if GL modules is selected.

Signed-off-by: Daniel Golle <[email protected]>
multimedia/gst1-plugins-bad/Makefile

index a93e8f6aeb6745c5756f12b10bcea84f819a26ea..1f9bdd448e80e2e7e67d8b9449270ae0de22ef88 100644 (file)
@@ -159,7 +159,7 @@ MESON_ARGS += \
        -Dy4m=$(if $(CONFIG_PACKAGE_gst1-mod-y4mdec),en,dis)abled \
        \
        -Dopencv=disabled \
-       -Dwayland=disabled \
+       -Dwayland=$(if $(CONFIG_PACKAGE_libgst1gl),en,dis)abled \
        -Dx11=disabled \
        \
        -Daom=disabled \
@@ -191,7 +191,7 @@ MESON_ARGS += \
        -Dfdkaac=disabled \
        -Dflite=disabled \
        -Dfluidsynth=disabled \
-       -Dgl=disabled \
+       -Dgl=$(if $(CONFIG_PACKAGE_libgst1gl),en,dis)abled \
        -Dgme=disabled \
        -Dgpl=enabled \
        -Dgsm=disabled \